package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.Catalog2Vo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author GuanMing.Zhu
 * @email xiaoming.080797@gmail.com
 * @date 2020-10-20 20:52:23
 */
public interface CategoryService extends IService<CategoryEntity> {

    List<CategoryEntity> queryTreeList();

    void removeMenuByIds(List<Long> catIds);

    void updateByList(List<CategoryEntity> categoryList);

    Long[] getCatelogIds(Long catelogId);

    void updateDetail(CategoryEntity category);

    void transactionalJunitTest();

    List<CategoryEntity> queryTopCategoryList();

    Map<String,List<Catalog2Vo>> getCatalogJson();

}


